/*******************************************************************************
 ** Name: professions.cpp                                                     **
 ** Description: Timer and timing objects.                                    **
 **                                                                           **
 ** Open Source Initiative (OSI) Approved License                             **
 **                                                                           **
 ** The contents of this file are subject to the terms of the                 **
 ** Common Development and Distribution License, Version 1.0 only             **
 ** (the "License").  You may not use this file except in compliance          **
 ** with the License.                                                         **
 **                                                                           **
 ** You can find a copy of the license in the LICENSE file within             **
 ** this distribution or at $WIKI/display/GOVT/License-software.              **
 ** Software distributed under the License is distributed on an "AS IS"       **
 ** basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.           **
 ** See the License for the specific language governing permissions           **
 ** and limitations under the License.                                        **
 **                                                                           **
 ** When distributing Covered Code, include this CDDL header in each          **
 ** file and include the License file at $GAME_DIR/LICENSE.                   **
 ** If applicable, add the following below this header, with the indicated    **
 ** fields enclosed by brackets "[]" replaced with your own identifying       **
 ** information: Portions Copyright [yyyy] [name of copyright owner]          **
 **                                                                           **
 **                                                                           **
 ** Copyright (c) 2009-2011  Barry Gian James <gian@gamingods.net>            **
 ** All rights reserved.                                                      **
 ******************************************************************************/
// Created on March 16, 2010, 9:45 PM
// Portions Copyright 2012 Open Design Strategies, LLC
// All Rights Reserved.
// Modified $Date: 2012-07-27 19:06:32 -0600 (Fri, 27 Jul 2012) $ by $Author: unknown $
#define professions_cpp_ID    "$Id: professions.cpp 68814 2012-07-28 01:06:32Z unknown $"
#include "professions.hpp"

namespace profession
{
//! the first value is its build cost (for balancing)
//! there are two types and three speeds of lists
int slow_medium[] =
{ 10, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10 };
int fast[] =
{ 15, 0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9, 10, 11, 12, 12, 13, 14, 15 };
int very_fast[] =
{ 20, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 };

int very_slow[] =
{ 6, 0, 0, 1,1,1, 2,2,2, 3,3,3, 4,4,4, 5,5,5, 6,6,6};
int slow[] =
{ 9, 1, 2,2,2, 3, 3, 4,4,4, 5,5, 6,6,6, 7,7, 8,8,8, 9 };
int fast_medium[] =
{ 12, 2, 3,3, 4,4, 5,5, 6,6, 7,7, 8,8, 9,9, 10,10, 11,11, 12 };


}	/* namespace profession */

Profession::Profession(const std::string & n)
: name_(n), skillDepMod_(0), numWpnProf_(0), numArmorProf_(0),
  vd_(0), maxLvls_(200), type_(profession::type::basic)
{

}

BasicProfession::BasicProfession(const std::string & n)
: Profession(n)
{

}

AdvancedProfession::AdvancedProfession(const std::string & n)
: Profession(n)
{

}
